package com.example.service;

import com.example.mapper.StudentMapper;
import com.example.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ author:lin tingfeng
 * @ data:2021/9/6-23:53
 */

/**
 * 学生功能：
 * 1.查看个人信息
 * 2.查询
 * 3.学生登录系统验证
 * 4.提交修改个人信息
 * 5.修改密码
 * 6.通过授权获取更多功能
 */
public interface StudentService {

    List<Student> selectStudentByAll();

    List<Student> selectStudentByType(String type, String content);

    Student selectStudentById(String stuid);

    Boolean validateLogin(String stuid, String password);

    Boolean insertStudent(Student student);

    Boolean deleteStudentById(String stuid);

    Boolean updateStudent(Student updateStu);
}
